package com.atguigu.nacos.service;

import com.atguigu.nacos.bean.Movie;
import com.atguigu.nacos.mapper.MovieMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MovieService {

    @Autowired
    MovieMapper movieMapper;

    public Movie getMovie(Integer id){
        return movieMapper.getMovie(id);
    }
}
